package com.park.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.dao.MonthuserconsumerrecordMapper;
import com.park.model.Monthuserconsumerrecord;
import com.park.service.MonthuserConsumerRecordService;
@Service
public class MonthuserConsumerRecordServiceImpl implements MonthuserConsumerRecordService {

	@Autowired
	MonthuserconsumerrecordMapper monthuserConsumerRecordMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Monthuserconsumerrecord record) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.insert(record);
	}

	@Override
	public int insertSelective(Monthuserconsumerrecord record) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.insertSelective(record);
	}

	@Override
	public Monthuserconsumerrecord selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Monthuserconsumerrecord record) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Monthuserconsumerrecord record) {
		// TODO Auto-generated method stub
		return monthuserConsumerRecordMapper.updateByPrimaryKey(record);
	}

}
